package com.c39.otc.open.launcher;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        MongoAutoConfiguration.class,
        MongoDataAutoConfiguration.class,
})
@EnableScheduling
@ComponentScan(basePackages = {  "com.c39.*", "com.cqfan.*"})
@ImportResource("classpath:conf-dubbo.xml")
public class OpenApplication {
    public static void main(String[] args) {
        SpringApplication.run(OpenApplication.class , args);
    }
}